/**
 * Copyright 2016 Yonyou Corporation Ltd. All Rights Reserved.
 * This software is published under the terms of the Yonyou Software
 * License version 1.0, a copy of which has been included with this
 * distribution in the LICENSE.txt file.
 *
 * @Project Name : dms.web
 * @File name : LoginInfoDto.java
 * @Author : zhangxc
 * @Date : 2016年6月30日
 * <p>
 * ----------------------------------------------------------------------------------
 * Date       Who       Version     Comments
 * 1. 2016年6月30日    zhangxc    1.0
 * <p>
 * <p>
 * <p>
 * <p>
 * ----------------------------------------------------------------------------------
 */

package com.yonyou.cyxdms.sysAuth.service.dto.authorization;

import io.swagger.annotations.ApiModelProperty;

import java.util.Locale;

/**
 * 记录登录的相关信息
 *
 * @author zhangxc
 * @date 2016年6月30日
 */
public class LoginInfo {

    @ApiModelProperty("集团、车厂唯一ID")
    private String appId;
    @ApiModelProperty("公司ID")
    private Long companyId;
    @ApiModelProperty("公司CODE")
    private String companyCode;
    @ApiModelProperty("当前登录公司CODE")
    private String ownerCode;
    @ApiModelProperty("二网时当前公司CODE")
    private String ownerParCode;
    @ApiModelProperty("数据类型：公司、部门、大区、小区")
    private Long orgType;
    @ApiModelProperty("数据来源：经销商、集团、车厂")
    private Long dataType;
    @ApiModelProperty("员工组织ID")
    private Long orgId;
    @ApiModelProperty("员工本组织以及以下ID")
    private String orgIds;
    @ApiModelProperty("登录方式：pc/APP")
    private String loginWay;
    @ApiModelProperty("国际化")
    private Locale locale;
    @ApiModelProperty("员工ID")
    private Long employeeId;
    @ApiModelProperty("员工编号（过时）（售后用）")
    private String employeeNo;
    @ApiModelProperty("用户ID")
    private Long userId;
    @ApiModelProperty("用户编号（过时）")
    private String userCode;
    @ApiModelProperty("EMPID")
    private Long empId;
    @ApiModelProperty("职位编码")
    private Long appRole;
    @ApiModelProperty("集团代码")
    private String groupCode;
    @ApiModelProperty("用户名称")
    private String userName;
    @ApiModelProperty("经销商名称")
    private String dealerName;
    @ApiModelProperty("组织名称")
    private String orgName;
    @ApiModelProperty("经销商ID")
    private String ownerId;
    @ApiModelProperty("用户组织角色关系id")
    private Long userOrgId;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getOwnerCode() {
        return ownerCode;
    }

    public void setOwnerCode(String ownerCode) {
        this.ownerCode = ownerCode;
    }

    public String getOwnerParCode() {
        return ownerParCode;
    }

    public void setOwnerParCode(String ownerParCode) {
        this.ownerParCode = ownerParCode;
    }

    public Long getOrgType() {
        return orgType;
    }

    public void setOrgType(Long orgType) {
        this.orgType = orgType;
    }

    public Long getDataType() {
        return dataType;
    }

    public void setDataType(Long dataType) {
        this.dataType = dataType;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public String getOrgIds() {
        return orgIds;
    }

    public void setOrgIds(String orgIds) {
        this.orgIds = orgIds;
    }

    public String getLoginWay() {
        return loginWay;
    }

    public void setLoginWay(String loginWay) {
        this.loginWay = loginWay;
    }

    public Locale getLocale() {
        return locale;
    }

    public void setLocale(Locale locale) {
        this.locale = locale;
    }

    public Long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }

    public String getEmployeeNo() {
        return employeeNo;
    }

    public void setEmployeeNo(String employeeNo) {
        this.employeeNo = employeeNo;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public Long getEmpId() {
        return empId;
    }

    public void setEmpId(Long empId) {
        this.empId = empId;
    }

    public Long getAppRole() {
        return appRole;
    }

    public void setAppRole(Long appRole) {
        this.appRole = appRole;
    }

    public String getGroupCode() {
        return groupCode;
    }

    public void setGroupCode(String groupCode) {
        this.groupCode = groupCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDealerName() {
        return dealerName;
    }

    public void setDealerName(String dealerName) {
        this.dealerName = dealerName;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(String ownerId) {
        this.ownerId = ownerId;
    }

    public Long getUserOrgId() {
        return userOrgId;
    }

    public void setUserOrgId(Long userOrgId) {
        this.userOrgId = userOrgId;
    }
}
